package com.woniu.service;

import com.woniu.entity.RbacManagerDTO;
import com.woniu.entity.RbacManager;
import com.woniu.entity.ResponseEntity;

/**
 * @author:陈涵
 * @Do:用户管理业务层
 * @date: 2022/9/1 23:14
 */
public interface RbacManagerService {
    /**
     * 查询所有用户信息
     * TODO: 暂时还未分页，以后来开发
     *
     */
    ResponseEntity findAll( int currentPage,int pageSize);

    ResponseEntity deleteOne(int id);

    ResponseEntity addOne(RbacManager rbacManager);

    ResponseEntity editOne(RbacManager rbacManager);

    RbacManager findOneByName(String username);

    ResponseEntity editType(int id,String status);

    ResponseEntity initPwd(int id);

    ResponseEntity updateRole(RbacManagerDTO rbacManagerDTO);

}
